// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_hm_imapfolders
// * CreateDate    : 2014-06-05 18:29:58
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:29:58
// * LastChanger   : 2014-06-05 18:29:58
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class HmImapfoldersTable : TableInfo
    {
		public const string C_TableName = "hm_imapfolders";
		
		public const string C_folderid = "folderid";
		public const string C_folderaccountid = "folderaccountid";
		public const string C_folderparentid = "folderparentid";
		public const string C_foldername = "foldername";
		public const string C_folderissubscribed = "folderissubscribed";
		public const string C_foldercreationtime = "foldercreationtime";
		public const string C_foldercurrentuid = "foldercurrentuid";
		
		public HmImapfoldersTable()
        {
            _tableName = "hm_imapfolders";
        }
		
		protected static HmImapfoldersTable _current;
        public static HmImapfoldersTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new HmImapfoldersTable();

            _current.Add(C_folderid, new ColumnInfo(C_folderid,"Folderid", true, typeof(int)));
            _current.Add(C_folderaccountid, new ColumnInfo(C_folderaccountid,"Folderaccountid", false, typeof(int)));
            _current.Add(C_folderparentid, new ColumnInfo(C_folderparentid,"Folderparentid", false, typeof(int)));
            _current.Add(C_foldername, new ColumnInfo(C_foldername,"Foldername", false, typeof(string)));
            _current.Add(C_folderissubscribed, new ColumnInfo(C_folderissubscribed,"Folderissubscribed", false, typeof(byte)));
            _current.Add(C_foldercreationtime, new ColumnInfo(C_foldercreationtime,"Foldercreationtime", false, typeof(DateTime)));
            _current.Add(C_foldercurrentuid, new ColumnInfo(C_foldercurrentuid,"Foldercurrentuid", false, typeof(long)));
			
		}
		
		public ColumnInfo folderid
        {
            get { return this[C_folderid]; }
        }
		
		public ColumnInfo folderaccountid
        {
            get { return this[C_folderaccountid]; }
        }
		
		public ColumnInfo folderparentid
        {
            get { return this[C_folderparentid]; }
        }
		
		public ColumnInfo foldername
        {
            get { return this[C_foldername]; }
        }
		
		public ColumnInfo folderissubscribed
        {
            get { return this[C_folderissubscribed]; }
        }
		
		public ColumnInfo foldercreationtime
        {
            get { return this[C_foldercreationtime]; }
        }
		
		public ColumnInfo foldercurrentuid
        {
            get { return this[C_foldercurrentuid]; }
        }
		
		
		
	}
}

